package com.ryskoo.controller.cms;

import com.ryskoo.cms.noticetype.domain.NoticeTypePO;
import com.ryskoo.cms.noticetype.service.INoticeTypeService;
import com.ryskoo.framework.core.controller.BasicHandler;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 公告类型管理 web controller
 *
 * @author renyuting
 * @data 2018-05-03
 */
@Controller
@RequestMapping(value = "/vendor/cms/noticetype")
public class NoticeTypeController extends BasicHandler<NoticeTypePO> {

    private INoticeTypeService noticeTypeService;

    public NoticeTypeController() {
        super("system/cms/noticetype", "NoticeType");
    }

    @Autowired
    public void setService(INoticeTypeService noticeTypeService) {
        this.noticeTypeService = noticeTypeService;
        super.setService(noticeTypeService);
    }

}
